

myfile = gzip.open("descriptions.txt.gz",'r')

cc = Counter()
def test():
	pr_id = "0"
	while pr_id != "":
		pr_id = myfile.readline()
		descr = myfile.readline()
		emt_l = myfile.readline()
		productID = ":".join(pr_id.strip().split(":")[1:]).strip()
		description = ":".join(descr.strip().split(":")[1:]).strip()
		cc[productID in BookIDs] += 1

myfile.close()




